<#include "/view/common/command/para.html">
<div>
<div class="zs-ibox">
	<input type="button" value="新建" class="zs-btn" style="float: right;"
		ng-click="onCreateClick();">
	<table class="zs-data-tab" width="100%">
		<thead>
			<tr>
				<th class="head">所属站点</th>
				<th class="head">数据采集仪名称</th>
				<th class="head">出厂编号</th>
				<th class="head">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="curRow in dataCollectionInstrumetList"
				class="{{ isDoubleNum($index) ? 'even':'' }}">
				<td class="center"><a> <label ng-bind="curRow.SITE_NAME">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.ID">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.DEVICE_NUM">
					</label>
				</a></td>
				<td class="center"><a style="cursor: pointer" ng-click="onDetailClick(curRow)"> 详情 </a> &nbsp; 
								   <a style="cursor: pointer" ng-click="onEditClick(curRow)" ng-show="formObject.si.sa||formObject.si.public_edit">编辑</a> &nbsp; 
								   <a style="cursor: pointer" ng-click="onSubmitDeleteClick(curRow)" ng-show="formObject.si.sa||formObject.si.public_delete"> 删除 </a></td>
			</tr>
		</tbody>
	</table>
	
</div>
   
   <div com-dialog width="800" height="450" title="我是标题" ng-model="createDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/dataCollectionInstrumet/create.html">
   </div>
   <div com-dialog width="800" height="450" title="我是标题" ng-model="editDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/dataCollectionInstrumet/edit.html">
   </div>
   <div com-dialog width="800" height="450" title="我是标题" ng-model="detailDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/dataCollectionInstrumet/detail.html">
   </div>
</div>
